﻿<?php
date_default_timezone_set('Europe/Bratislava');
session_start();
//GET COUNTRY CODE
require_once('lib/mod/geoip/geoip.inc');
$gi = geoip_open("lib/mod/geoip/geoip.dat",GEOIP_STANDARD);
$_SESSION['country'] = geoip_country_code_by_addr($gi, $_SERVER["REMOTE_ADDR"]);
geoip_close($gi);
//DATABASE
require('lib/mod/class.db.php');
$DB = new DB('sql8.dnsserver.eu', 'db48224xcore', 'nustard1985', 'db48224xcore');
?>